﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class travel_hotels_Travel_Hotels : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string _strMaintenance = CE.Configuration.MyConfigurationManager.GetAppSettingValue("IsMaintenance");
        if (_strMaintenance == "1")
        {
            Response.Redirect("~/maintenance.aspx");
        }
         //string _strCXLive = CE.Configuration.MyConfigurationManager.GetAppSettingValue("IsCXLive");
         //if (_strCXLive == "1")
         //{
         //    if (Session[CE.Global.General.Guest] == null)
         //    {
         //        Response.Redirect("default.aspx");
         //    }
         //}
    }
}
